<?php

namespace app\shop\controller;

use app\shop\service\ShopService;

/**
 * 后台首页控制器
 */
class Index extends Controller
{
    /**
     * 后台首页
     */
    public function index()
    {
        $data = (new ShopService())->getBaseData();
        return $this->renderSuccess('', compact('data'));
    }
}